class RaindropConverter {

    private static final int[] RaindropsNumber = new int[]{3, 5, 7};
    private static final String[] RaindropsString = new String[]{"Pling", "Plang", "Plong"};

    String convert(int number) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < RaindropsNumber.length; i++) {
            if (number % RaindropsNumber[i] == 0){
                sb.append(RaindropsString[i]);
            }
        }

        return sb.toString().isEmpty() ? Integer.toString(number) : sb.toString();
    }
}
